package util;

public class ThreadUtil {
	private ThreadUtil() {
		
	}
	public static Thread startThread(Runnable runnable) {
		Thread t = new Thread(runnable);
		t.start();
		return t;
	}
	public static void sleep(long millis) {
		try {
			Thread.sleep(millis);
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
	}
}
